Skip to content

Conversation

@jordandekraker
Copy link
Collaborator

@jordandekraker jordandekraker commented Aug 18, 2025

Snakenull is a new snakebids feature described here: khanlab/snakebids#470 in response to the issue raised here khanlab/snakebids#469
It adds flexibility to input datasets. For example, if run-X exists in some subjects but not others, it will keep the run entity as a wildcard, and infill X as snakenull for all cases that didn't already have it defined. Note that the default behaviour is still to have snakenull disabled, so here we enable it (globally, but we could just as easily enable it for a given pybids_input) in your snakebids.yml config file.

Also note that for this build to work, we will need to include snakenull in our dependencies. Currently I'm working with a local build and my test runs are working. To deploy correctly, we can either wait until this feature is merged and specify its new version number as our snakebids requirement, or we can use git+ to point to the branch (this would be a temporary fix as the branch will be deleted once merged).

This PR also clean up some files that should never have been included (.vscode, __pycache__, and .snakemake - which were most likely committed by mistake during development and testing)

@jordandekraker jordandekraker marked this pull request as draft August 21, 2025 14:56
@jordandekraker
Copy link
Collaborator Author

jordandekraker commented Aug 21, 2025

TODOs:

  • add a snakebids version for after snakenull is merged OR point to the snakenull branch
    • finish the snakebids PR
  • consider what to do when a subject is missing ALL func or dwi data **

** this has an open request already: khanlab/snakebids#293

@jordandekraker
Copy link
Collaborator Author

oh no, i think i triggered CI when i accidentally closed and then reopened this PR. I guess that's another 436min of processing :/

@jordandekraker jordandekraker marked this pull request as ready for review September 9, 2025 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants